Log accountinfos on others' accounts as staff commands.
authorMichael Poole <mdpoole@troilus.org>
Sun, 9 Mar 2008 00:36:58 +0000 (19:36 -0500)
committerMichael Poole <mdpoole@troilus.org>
Sun, 9 Mar 2008 00:36:58 +0000 (19:36 -0500)
src/nickserv.c

index 63a910e99320a23c72077bcd16e5bb3f589a795d..88dcf878e7520c1e475def21de1bf323098e5f2c 100644 (file)
@@ -1511,7 +1511,7 @@ static NICKSERV_FUNC(cmd_handleinfo)
         }
     }
 
-    return 1;
+    return 1 | ((hi != user->handle_info) ? CMD_LOG_STAFF : 0);
 }
 
 static NICKSERV_FUNC(cmd_userinfo)