1
0
Эх сурвалжийг харах

* Sharing a newuser didnt account for if it was a bot or not

svn: 1238
Bryan Drewery 22 жил өмнө
parent
commit
7b46c8ac25

+ 1 - 1
src/mod/share.mod/share.c

@@ -382,7 +382,7 @@ share_newuser(int idx, char *par)
       break_down_flags(par, &fr, NULL);
 
       /* If user already exists, ignore command */
-      shareout_but(idx, "n %s %s %s %s\n", nick, host, pass, par);
+      shareout_but(idx, "n %s%s %s %s %s\n", isbot ? "-" : "", nick, host, pass, par);
 
       noshare = 1;
       if (strlen(nick) > HANDLEN)