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/commands/cs_modes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/cs_modes.cpp') diff --git a/modules/commands/cs_modes.cpp b/modules/commands/cs_modes.cpp index b398e1e8e..2775e92bc 100644 --- a/modules/commands/cs_modes.cpp +++ b/modules/commands/cs_modes.cpp @@ -55,9 +55,9 @@ class CommandModeBase : public Command else { if (set) - c->SetMode(NULL, cm, u2->nick); + c->SetMode(NULL, cm, u2->GetUID()); else - c->RemoveMode(NULL, cm, u2->nick); + c->RemoveMode(NULL, cm, u2->GetUID()); Log(LOG_COMMAND, source, com, ci) << "for " << u2->nick; } -- cgit