From 735e234c2c7a984b01295f86045545ed8d9838ce Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 8 May 2013 20:26:45 -0400 Subject: Fixed some issues and desyncs with creating empty permanent channels on startup & dropping empty channels --- modules/protocol/unreal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol/unreal.cpp') 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) { -- cgit