mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-29 06:51:09 -05:00
typo changes
This commit is contained in:
parent
9d58b50c45
commit
573e023202
18
plugin.py
18
plugin.py
@ -859,7 +859,7 @@ class Chan (object):
|
|||||||
# insert logs
|
# insert logs
|
||||||
index = 0
|
index = 0
|
||||||
logs = []
|
logs = []
|
||||||
logs.append('%s matched by %s' % (getBestPattern(n,self.ircd.irc),m))
|
logs.append('%s matched by %s' % (n,m))
|
||||||
for line in n.logs:
|
for line in n.logs:
|
||||||
(ts,target,message) = n.logs[index]
|
(ts,target,message) = n.logs[index]
|
||||||
index += 1
|
index += 1
|
||||||
@ -978,7 +978,7 @@ class Nick (object):
|
|||||||
realname = self.realname
|
realname = self.realname
|
||||||
if realname is None:
|
if realname is None:
|
||||||
realname = ''
|
realname = ''
|
||||||
return '%s ip:%s $a:%s $r:%s' % (self.prefix,ip,account,realname)
|
return '%s ip:%s account:%s username:%s' % (self.prefix,ip,account,realname)
|
||||||
|
|
||||||
# Taken from plugins.Time.seconds
|
# Taken from plugins.Time.seconds
|
||||||
def getTs (irc, msg, args, state):
|
def getTs (irc, msg, args, state):
|
||||||
@ -1384,13 +1384,13 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
|||||||
irc.reply('nick not found')
|
irc.reply('nick not found')
|
||||||
isbad = wrap(isbad,['op','nick'])
|
isbad = wrap(isbad,['op','nick'])
|
||||||
|
|
||||||
def supported (self,irc,msg,args):
|
#def supported (self,irc,msg,args):
|
||||||
"""return supported modes by ircd """
|
#"""return supported modes by ircd """
|
||||||
r = []
|
#r = []
|
||||||
for item in irc.state.supported:
|
#for item in irc.state.supported:
|
||||||
r.append('[%s: %s]' % (item,irc.state.supported[item]))
|
#r.append('[%s: %s]' % (item,irc.state.supported[item]))
|
||||||
irc.reply(', '.join(r))
|
#irc.reply(', '.join(r))
|
||||||
supported = wrap(supported,['owner'])
|
#supported = wrap(supported,['owner'])
|
||||||
|
|
||||||
def getIrcdMode (self,irc,mode,pattern):
|
def getIrcdMode (self,irc,mode,pattern):
|
||||||
# here we try to know which kind of mode and pattern should be computed :
|
# here we try to know which kind of mode and pattern should be computed :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user