From 2028230f82c5c9ea254f8814f54bce31815e895d Mon Sep 17 00:00:00 2001 From: moneromooo Date: Tue, 13 Jan 2015 12:54:17 +0000 Subject: [PATCH] Remove some unused code --- tipbot/ircutils.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tipbot/ircutils.py b/tipbot/ircutils.py index d507046..4c023c2 100644 --- a/tipbot/ircutils.py +++ b/tipbot/ircutils.py @@ -140,18 +140,6 @@ def Who(chan): userstable[chan] = dict() SendIRC ( 'WHO ' + chan) -def GetHost(host): # Return Host - host = host.split('@')[1] - host = host.split(' ')[0] - return host - -def GetChannel(data): # Return Channel - channel = data.split('#')[1] - channel = channel.split(':')[0] - channel = '#' + channel - channel = channel.strip(' \t\n\r') - return channel - def GetNick(data): # Return Nickname nick = data.split('!')[0] nick = nick.replace(':', ' ')