mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 22:24:20 +01:00
Finished change to Services.
This commit is contained in:
parent
97d5ee8ad4
commit
dfc9f2f160
@ -30,10 +30,7 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
"""
|
"""
|
||||||
NickServ: Handles management of nicks with NickServ.
|
Services: Handles management of nicks with NickServ, and ops with ChanServ.
|
||||||
|
|
||||||
Commands include:
|
|
||||||
startnickserv (bot's nick, password, NickServ's nick [defaults to NickServ])
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from baseplugin import *
|
from baseplugin import *
|
||||||
@ -56,7 +53,7 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
onStart.append('load NickServ')
|
onStart.append('load NickServ')
|
||||||
onStart.append('startnickserv %s %s' % (nick, password))
|
onStart.append('startnickserv %s %s' % (nick, password))
|
||||||
|
|
||||||
class NickServ(privmsgs.CapabilityCheckingPrivmsg):
|
class Services(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
capability = 'admin'
|
capability = 'admin'
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.Privmsg.__init__(self)
|
callbacks.Privmsg.__init__(self)
|
||||||
@ -112,6 +109,6 @@ class NickServ(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Class = NickServ
|
Class = Services
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
Reference in New Issue
Block a user