mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
Fixed minor style bug
This commit is contained in:
parent
aa9c867b14
commit
2ce7729916
@ -41,7 +41,7 @@ import ircutils
|
|||||||
class IrcMsg(object):
|
class IrcMsg(object):
|
||||||
"""Class to represent an IRC message.
|
"""Class to represent an IRC message.
|
||||||
"""
|
"""
|
||||||
# __slots__ = ('_args', '_command', '_host', '_nick', '_prefix', '_user')
|
#__slots__ = ('_args', '_command', '_host', '_nick', '_prefix', '_user')
|
||||||
def __init__(self, s='', command='', args=None, prefix='', msg=None):
|
def __init__(self, s='', command='', args=None, prefix='', msg=None):
|
||||||
if msg:
|
if msg:
|
||||||
prefix = msg.prefix
|
prefix = msg.prefix
|
||||||
@ -325,4 +325,5 @@ def whois(nick):
|
|||||||
|
|
||||||
def invite(channel, user):
|
def invite(channel, user):
|
||||||
return IrcMsg(command='INVITE', args=(channel, user))
|
return IrcMsg(command='INVITE', args=(channel, user))
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user