diff --git a/SpiceBot/SpiceBotCore/interface/comms/__init__.py b/SpiceBot/SpiceBotCore/interface/comms/__init__.py index d323e63..67244bb 100644 --- a/SpiceBot/SpiceBotCore/interface/comms/__init__.py +++ b/SpiceBot/SpiceBotCore/interface/comms/__init__.py @@ -26,13 +26,16 @@ class Comms(): self.backend = bot.backend self.dispatch = bot.dispatch + def hostmask_set(self, bot): + self.hostmask = bot.hostmask + @property def botnick(self): return self.config.core.nick @property def bothostmask(self): - return self.bot.hostmask + return self.hostmask def write(self, args, text=None): while not self.backend: