Removed some code
This commit is contained in:
parent
c64c2cbcd0
commit
9c59fa538a
1 changed files with 1 additions and 4 deletions
|
@ -25,9 +25,6 @@ class Input(dict):
|
||||||
else:
|
else:
|
||||||
conn.msg(chan, '(' + nick + ') ' + msg)
|
conn.msg(chan, '(' + nick + ') ' + msg)
|
||||||
|
|
||||||
def set_nick(nick):
|
|
||||||
conn.set_nick(nick)
|
|
||||||
|
|
||||||
def me(msg):
|
def me(msg):
|
||||||
conn.msg(chan, "\x01%s %s\x01" % ("ACTION", msg))
|
conn.msg(chan, "\x01%s %s\x01" % ("ACTION", msg))
|
||||||
|
|
||||||
|
@ -38,7 +35,7 @@ class Input(dict):
|
||||||
params=params, nick=nick, user=user, host=host, mask=mask,
|
params=params, nick=nick, user=user, host=host, mask=mask,
|
||||||
paraml=paraml, msg=msg, server=conn.server, chan=chan,
|
paraml=paraml, msg=msg, server=conn.server, chan=chan,
|
||||||
notice=notice, say=say, reply=reply, pm=pm, bot=bot,
|
notice=notice, say=say, reply=reply, pm=pm, bot=bot,
|
||||||
me=me, set_nick=set_nick, lastparam=paraml[-1])
|
me=me, lastparam=paraml[-1])
|
||||||
|
|
||||||
# make dict keys accessible as attributes
|
# make dict keys accessible as attributes
|
||||||
def __getattr__(self, key):
|
def __getattr__(self, key):
|
||||||
|
|
Reference in a new issue