From 2dd5a522d3418e17d2d3ffa72f05bca6b638ad97 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 12 Aug 2003 19:12:44 +0000 Subject: [PATCH] Changed nick/user/host of server hostmask to be the hostmask itself. Also disabled _ircmsg import for the time being. --- src/ircmsgs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ircmsgs.py b/src/ircmsgs.py index e41f683d2..891a96c4f 100644 --- a/src/ircmsgs.py +++ b/src/ircmsgs.py @@ -110,7 +110,7 @@ class IrcMsg(object): if ircutils.isUserHostmask(self.prefix): (self.nick,self.user,self.host)=ircutils.splitHostmask(self.prefix) else: - (self.nick, self.user, self.host) = ('', '', '') + (self.nick, self.user, self.host) = (self.prefix,)*3 self.args = tuple(self.args) def __str__(self): @@ -186,11 +186,11 @@ class IrcMsg(object): def __setstate__(self, s): self.__init__(s) -try: - import _ircmsg - IrcMsg = _ircmsg.IrcMsg -except: - pass +## try: +## import _ircmsg +## IrcMsg = _ircmsg.IrcMsg +## except: +## pass def isAction(msg):