summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/extern.h2
-rw-r--r--include/users.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h
index fb3894c04..85acc59a5 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1131,8 +1131,6 @@ E int32 usercnt, opcnt;
E uint32 maxusercnt;
E time_t maxusertime;
-E void delete_user(User *user);
-
E void get_user_stats(long *nusers, long *memuse);
E User *finduser(const char *nick);
E User *firstuser(void);
diff --git a/include/users.h b/include/users.h
index 95b2dc81c..fcf01e004 100644
--- a/include/users.h
+++ b/include/users.h
@@ -69,6 +69,10 @@ class User
*/
User(const std::string &nick);
+ /** Destroy a user.
+ */
+ ~User();
+
/** Update the nickname of a user record accordingly, should be
* called from ircd protocol.
*/