mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-11 04:31:37 +01:00
Fixed an SVSMOTD bug
This commit is contained in:
parent
99dbe995c0
commit
7589b92df7
2 changed files with 3 additions and 1 deletions
2
Changes
2
Changes
|
@ -2164,3 +2164,5 @@ seen. gmtime warning still there
|
|||
- Made some fixes to the resolver code under Win32
|
||||
- Fixed a bug in del_throttling_bucket
|
||||
- Code cleanup (sys_errlist[])
|
||||
- Fixed a crash in SVSMOTD that could occur if invalid parameters were used. Reported by
|
||||
emigrant
|
||||
|
|
|
@ -139,7 +139,7 @@ int m_svsmotd(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
|||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
return 0;
|
||||
}
|
||||
sendto_serv_butone_token(cptr, parv[0], MSG_SVSMOTD, TOK_SVSMOTD,
|
||||
"%s :%s", parv[1], parv[2]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue