mirror of
https://github.com/anope/anope.git
synced 2026-07-03 08:33:12 +02:00
Add a non-formatting overload of User::SetModesInternal.
This commit is contained in:
+1
-1
@@ -229,7 +229,7 @@ void Message::Mode::Run(MessageSource &source, const std::vector<Anope::string>
|
||||
User *u = User::Find(params[0]);
|
||||
|
||||
if (u)
|
||||
u->SetModesInternal(source, "%s", buf.substr(1).c_str());
|
||||
u->SetModesInternal(source, buf.substr(1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user