1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

The sender can be null in OnBotUnAssign.

This commit is contained in:
Sadie Powell
2024-06-10 12:51:56 +01:00
parent 8a1bffba9b
commit 88ac47e217
+1 -1
View File
@@ -324,7 +324,7 @@ public:
* @param ci The channel the bot is being removed from
* @return EVENT_CONTINUE to let other modules decide, EVENT_STOP to deny the unassign.
*/
virtual EventReturn OnBotUnAssign(User *sender, ChannelInfo *ci) ATTR_NOT_NULL(2, 3) { throw NotImplementedException(); }
virtual EventReturn OnBotUnAssign(User *sender, ChannelInfo *ci) ATTR_NOT_NULL(3) { throw NotImplementedException(); }
/** Called when a new user connects to the network.
* @param u The connecting user.