From 1730bfb2bc2a664f6b555152c1251384669ee661 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 30 Oct 2012 21:22:10 -0400 Subject: Send uids everywhere when setting modes on clients --- modules/protocol/inspircd-ts6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/protocol/inspircd-ts6.h') diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index e03f5fa1f..a10deea4f 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -232,7 +232,7 @@ class InspIRCdTS6Proto : public IRCDProto BotInfo *setter = findbot(user->nick); for (unsigned i = 0; i < ModeManager::ChannelModes.size(); ++i) if (cs.HasFlag(ModeManager::ChannelModes[i]->Name)) - c->SetMode(setter, ModeManager::ChannelModes[i], user->nick, false); + c->SetMode(setter, ModeManager::ChannelModes[i], user->GetUID(), false); } } -- cgit