mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Changed nick/user/host of server hostmask to be the hostmask itself. Also disabled _ircmsg import for the time being.
This commit is contained in:
parent
2a4c2ea185
commit
2dd5a522d3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user