diff options
| author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-28 00:49:37 +0000 |
|---|---|---|
| committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-28 00:49:37 +0000 |
| commit | bd7f4f8c4995ddc81d5c5ab9cb32ed05048908c2 (patch) | |
| tree | 3638f54db859023ca2a9cfbf8983b7b07527005e /src/protocol | |
| parent | 090107db5f2afa16e155f56d7928e38d0a17a295 (diff) | |
Patch from Adam, reducing duplication in cs_modes. Untested.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2135 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol')
| -rw-r--r-- | src/protocol/inspircd11.c | 1 | ||||
| -rw-r--r-- | src/protocol/inspircd12.cpp | 1 | ||||
| -rw-r--r-- | src/protocol/unreal32.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 187dbcddf..5748f62a1 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -1276,6 +1276,7 @@ void moduleAddIRCDMsgs() { Message *m; updateProtectDetails("PROTECT","PROTECTME","protect","deprotect","AUTOPROTECT","+a","-a"); + updateOwnerDetails("OWNER", "DEOWNER", ircd->ownerset, ircd->ownerunset); m = createMessage("436", anope_event_436); addCoreMessage(IRCD,m); m = createMessage("AWAY", anope_event_away); addCoreMessage(IRCD,m); diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index d5373105e..f47810c20 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -1331,6 +1331,7 @@ void moduleAddIRCDMsgs() { Message *m; updateProtectDetails("PROTECT","PROTECTME","protect","deprotect","AUTOPROTECT","+a","-a"); + updateOwnerDetails("OWNER", "DEOWNER", ircd->ownerset, ircd->ownerunset); m = createMessage("436", anope_event_436); addCoreMessage(IRCD,m); m = createMessage("AWAY", anope_event_away); addCoreMessage(IRCD,m); diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 23789ff3f..b00b89379 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1342,6 +1342,7 @@ void moduleAddIRCDMsgs() { Message *m; updateProtectDetails("PROTECT","PROTECTME","protect","deprotect","AUTOPROTECT","+a","-a"); + updateOwnerDetails("OWNER", "DEOWNER", ircd->ownerset, ircd->ownerunset); m = createMessage("436", anope_event_436); addCoreMessage(IRCD,m); m = createMessage("AWAY", anope_event_away); addCoreMessage(IRCD,m); |
