summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-06-10 11:15:30 +0100
committerSadie Powell <sadie@witchery.services>2024-06-10 11:16:05 +0100
commit8a1bffba9b0ebaa037b8ab9922e96f5cb2616e0c (patch)
treef11d3db44ae5c2716ef179b06298ebb941eb3f03 /include
parent01eef7a392f9fbb9541b4fa57a2316a8267a1666 (diff)
Fix a crash in ns_cert.
Diffstat (limited to 'include')
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index c942cfbc2..7192092ba 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -740,7 +740,7 @@ public:
* @param The nick
* @param pass The password of the newly registered nick
*/
- virtual void OnNickRegister(User *user, NickAlias *na, const Anope::string &pass) ATTR_NOT_NULL(2, 3) { throw NotImplementedException(); }
+ virtual void OnNickRegister(User *user, NickAlias *na, const Anope::string &pass) ATTR_NOT_NULL(3) { throw NotImplementedException(); }
/** Called when a nick is confirmed. This will never be called if registration confirmation is not enabled.
* @param user The user confirming the nick