summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-08 20:26:45 -0400
committerAdam <Adam@anope.org>2013-05-08 20:26:45 -0400
commit735e234c2c7a984b01295f86045545ed8d9838ce (patch)
tree87d7cce721eaa7a34d71b17c73f317750d87caef /modules/protocol/unreal.cpp
parent735f0ba6cf5602396bc2cabd6ceca0e92a0edd00 (diff)
Fixed some issues and desyncs with creating empty permanent channels on startup & dropping empty channels
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index ea5da3dbe..6ca10af14 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -1214,7 +1214,7 @@ class ProtoUnreal : public Module
this->AddModes();
- Implementation i[] = { I_OnReload, I_OnUserNickChange, I_OnChannelCreate, I_OnChanRegistered, I_OnDelChan, I_OnMLock, I_OnUnMLock };
+ Implementation i[] = { I_OnReload, I_OnUserNickChange, I_OnChannelSync, I_OnChanRegistered, I_OnDelChan, I_OnMLock, I_OnUnMLock };
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
ModuleManager::SetPriority(this, PRIORITY_FIRST);
}
@@ -1232,7 +1232,7 @@ class ProtoUnreal : public Module
IRCD->SendLogout(u);
}
- void OnChannelCreate(Channel *c) anope_override
+ void OnChannelSync(Channel *c) anope_override
{
if (use_server_side_mlock && Servers::Capab.count("MLOCK") > 0 && c->ci)
{