mirror of
https://github.com/anope/anope.git
synced 2026-07-02 07:26:38 +02:00
Identify requests hold command sources and users can disconnect between the request being dispatched and when it returns, so don't assume the source user pointer is always valid
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ class CoreExport CommandSource
|
||||
/* The nick executing the command */
|
||||
Anope::string nick;
|
||||
/* User executing the command, may be NULL */
|
||||
User *u;
|
||||
Reference<User> u;
|
||||
public:
|
||||
/* The account executing the command */
|
||||
Reference<NickCore> nc;
|
||||
|
||||
Reference in New Issue
Block a user