mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-06 10:15:24 +01:00
+- Fixed /mode # + bug reported by PhatNet/Mind
This commit is contained in:
parent
8f561e9337
commit
5392dd8acf
2 changed files with 5 additions and 0 deletions
1
Changes
1
Changes
|
@ -623,3 +623,4 @@
|
|||
- Fixed a typo in s_err.c reported by TRON
|
||||
- Fixed more -Wall warnings
|
||||
- Added #define LIST_SHOW_MODES to show channel modes in a /list (NOTE: only shows modes, not params)
|
||||
- Fixed /mode # + bug reported by PhatNet/Mind
|
||||
|
|
|
@ -1317,6 +1317,10 @@ void do_mode(chptr, cptr, sptr, parc, parv, sendts, samode)
|
|||
sptr = &me;
|
||||
sendts = 0;
|
||||
}
|
||||
/* Should stop null modes */
|
||||
if (*(mode_buf + 1) == '\0')
|
||||
return;
|
||||
|
||||
sendto_channel_butserv(chptr, sptr, ":%s MODE %s %s %s",
|
||||
sptr->name, chptr->chname, mode_buf, parabuf);
|
||||
if (IsServer(sptr) && sendts != -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue