# Path: txircd/utils.py
# def now():
#     return datetime.datetime.utcnow().replace(microsecond=0)


from txircd.utils import now
# The purpose of this file is to provide base classes with the needed functions
# already defined; this allows us to guarantee that any exceptions raised
# during function calls are a problem with the module and not just that the
# particular function isn't defined.


class Module(object):
    def hook(self, base):
        self.ircd = base
        return self


# Path: txircd/utils.py
# def now():
#     return datetime.datetime.utcnow().replace(microsecond=0)


# Path: txircd/modbase.py
from txircd.utils import now

# The purpose of this file is to provide base classes with the needed functions
# already defined; this allows us to guarantee that any exceptions raised
# during function calls are a problem with the module and not just that the
# particular function isn't defined.


class Module(object):
    def hook(self, base):
        self.ircd = base
        return self


class Mode(object):