Skip to content

Commit

Permalink
Update irc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxlet committed Aug 30, 2015
1 parent 375dd6c commit c9bdc8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudbot/clients/irc.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ def close(self):
def message(self, target, *messages):
for text in messages:
text = "".join(text.splitlines())
self.cmd("PRIVMSG", target, line)
self.cmd("PRIVMSG", target, text)

def action(self, target, text):
text = "".join(text.splitlines())
self.ctcp(target, "ACTION", line)
self.ctcp(target, "ACTION", text)

def notice(self, target, text):
text = "".join(text.splitlines())
self.cmd("NOTICE", target, line)
self.cmd("NOTICE", target, text)

def set_nick(self, nick):
self.cmd("NICK", nick)
Expand Down

0 comments on commit c9bdc8d

Please sign in to comment.