mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Remove some unused code
This commit is contained in:
parent
a0d2f3725f
commit
2028230f82
1 changed files with 0 additions and 12 deletions
|
@ -140,18 +140,6 @@ def Who(chan):
|
||||||
userstable[chan] = dict()
|
userstable[chan] = dict()
|
||||||
SendIRC ( 'WHO ' + chan)
|
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
|
def GetNick(data): # Return Nickname
|
||||||
nick = data.split('!')[0]
|
nick = data.split('!')[0]
|
||||||
nick = nick.replace(':', ' ')
|
nick = nick.replace(':', ' ')
|
||||||
|
|
Loading…
Reference in a new issue