Don't add an extra colon to numerics

master
Sven Slootweg 13 years ago
parent e12405a442
commit b5155f2aa1

@ -101,7 +101,7 @@ class client:
self.send_chunk(":%s NOTICE %s" % (config_ownhost, notice)) self.send_chunk(":%s NOTICE %s" % (config_ownhost, notice))
def send_numeric(self, numeric, notice): def send_numeric(self, numeric, notice):
self.send_chunk(":%s NOTICE %s :%s" % (config_ownhost, numeric, notice)) self.send_chunk(":%s NOTICE %s %s" % (config_ownhost, numeric, notice))
def process_data(self, data): def process_data(self, data):
self.buff += data self.buff += data

Loading…
Cancel
Save