B
    ÀÔx[r  ã               @   s    d dl mZ dd„ Zdd„ ZdS )é    )Úwrapsc                 s   ‡ fdd„}|S )z The startinfo decorator c                s"   ˆd ‰t ˆ ƒ‡ ‡fdd„ƒ}|S )z The actual decorator r   c                 s   t dˆ ƒ ˆ | |ŽS )z% Some other sort of decorating thing z James version %s initializing...)Úprint)ÚargsÚkwargs)ÚfunctÚjames_version© ú)/home/sam/code/Infobot/core/decorators.pyÚwrapper	   s    z-startinfo.<locals>.decorator.<locals>.wrapper)r   )r   r
   )r   )r   r   r	   Ú	decorator   s    zstartinfo.<locals>.decoratorr   )r   r   r   )r   r	   Ú	startinfo   s    
r   c                 s   ‡ fdd„}|S )Nc                s   d| _ ˆ | _| S )NT)Ú__core__Ú__irccallback_hooks__)r   )Úhooksr   r	   r      s    zIRCCallback.<locals>.decoratorr   )r   r   r   )r   r	   ÚIRCCallback   s    r   N)Ú	functoolsr   r   r   r   r   r   r	   Ú<module>   s   