]> jfr.im git - irc/evilnet/x3.git/commitdiff
Fixed bug where NickServ.oregister incorrectly logged the password
authorMatthew Beeching <redacted>
Mon, 6 Dec 2010 07:54:20 +0000 (07:54 +0000)
committerMatthew Beeching <redacted>
Mon, 6 Dec 2010 07:54:20 +0000 (07:54 +0000)
ChangeLog
src/nickserv.c

index b136c44cc97156d822543ab54581389756ac5f02..9183a6c8de52e7884a1516e4e8f31843821a8e9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 /***********************************************************************
 X3 ChangeLog
 
+2010-12-06  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Fixed bug where NickServ.oregister incorrectly
+       logged the password.
+
 2010-10-15  Matthew Beeching  <jobe@mdbnet.co.uk>
 
        * src/proto-p10.c: Fix for P10 BURST message parsing where
index dfcb698690139d1721ae0e8297656065c5d2206a..df8f10be218d7b9d755f5ef75ca7be9c1ce60773 100644 (file)
@@ -1625,6 +1625,8 @@ static NICKSERV_FUNC(cmd_oregister)
             string_list_append(hi->masks, mask_canonicalized);
     }
 
+    argv[2] = "****";
+
     if (nickserv_conf.sync_log)
         SyncLog("REGISTER %s %s %s %s", hi->handle, hi->passwd, email ? email : "@", user->info); /* Send just @ for email if none */
     return 1;