diff --git a/src/callbacks.py b/src/callbacks.py index 8b9ae3b02..1d9794779 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -1068,6 +1068,7 @@ class PluginMixin(irclib.IrcCallback): alwaysCall = () threaded = False noIgnore = False + classModule = None Proxy = IrcObjectProxy def __init__(self, irc): self.__parent = super(PluginMixin, self) diff --git a/src/plugin.py b/src/plugin.py index eb29f9ca2..9279b7a99 100644 --- a/src/plugin.py +++ b/src/plugin.py @@ -94,6 +94,7 @@ def loadPluginClass(irc, module, register=None): 'a bug with us about this error.' else: raise + cb.classModule = module plugin = cb.name() public = True if hasattr(cb, 'public'):