Fixed an SVSMOTD bug

This commit is contained in:
codemastr 2003-05-12 19:14:03 +00:00
parent 99dbe995c0
commit 7589b92df7
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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]);