- CE97A842DF4D7C328976CA4DCD0E99E9FF0C5E56FBA68ECB094055089B81A35C303B492FBAB33116FD5BE2213D75976259F7A947E7E4E538BA273C7D42698125+ AE28C098E89D25444FBD5FD93B6031D40CE4CEF4ACE438A887A6837FAFDE32137C304766A672B58898E36B75F5E8E0B784F58A0803994539D2B8C41CEFE187D1blatta/lib/client.py(42 . 10)(42 . 9)
5 def message_from_station(self, msg):
6 targetname = self.server.channel_name if msg.command == BROADCAST else self.nickname
7 pest_prefix = msg.prefix if msg.prefix else msg.speaker
8 formatted_message = ":%s PRIVMSG %s :%s%s" % (
9 formatted_message = ":%s PRIVMSG %s :%s" % (
10 pest_prefix,
11 targetname,
12 msg.warning if msg.warning else "",
13 msg.body
14 )
15 self.__writebuffer += formatted_message + "\r\n"
(537 . 7)(536 . 7)
17 self.message(":%s %s" % (self.server.name, msg))
18
19 def pest_reply(self, msg):
20 self.message(":Pest NOTICE %s :%s" % (self.nickname, msg))
21 self.message(":Pest NOTICE %s :%s" % (self.server.channel_name, msg))
22
23 def reply_403(self, channel):
24 self.reply("403 %s %s :No such channel" % (self.nickname, channel))