1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 20:23:13 +02:00

Make CommandSource use references, sometimes we hold them for awhile

This commit is contained in:
Adam
2012-09-15 10:11:31 -04:00
parent 1e71303ffa
commit 9ba7196881
19 changed files with 57 additions and 44 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class CommandHSRequest : public Command
{
User *u = source.GetUser();
NickAlias *na = findnick(source.GetNick());
if (!na || na->nc != source.nc)
if (!na || na->nc != source.GetAccount())
{
source.Reply(ACCESS_DENIED);
return;