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/plexus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/protocol/plexus.cpp') diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 2444d3569..803eed99c 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -94,7 +94,7 @@ class PlexusProto : 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