From: Gabriel B. <sh...@us...> - 2005-12-27 19:38:20
|
Update of /cvsroot/solidircd/solidircd-stable/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26530/src Modified Files: s_user.c Log Message: Yea I know I broke this earlier heh. Index: s_user.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_user.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** s_user.c 26 Dec 2005 05:21:38 -0000 1.17 --- s_user.c 27 Dec 2005 19:38:13 -0000 1.18 *************** *** 2469,2472 **** --- 2469,2500 ---- /* + * m_quit + * parv[0] = sender prefix + * parv[1] = comment + */ + + /* + int + m_quit(aClient *cptr, aClient *sptr, int parc, char *parv[]) + { + char *reason = (parc > 1 && parv[1]) ? parv[1] : cptr->name; + char comment[TOPICLEN + 1]; + + sptr->flags |= FLAGS_NORMALEX; + if (!IsServer(cptr)) + { + strcpy(comment, "Quit: "); + strncpy(comment + 6, reason, TOPICLEN - 6); + comment[TOPICLEN] = 0; + return exit_client(cptr, sptr, sptr, comment); + } + else + return exit_client(cptr, sptr, sptr, reason); + } + + */ + + + /* * m_kill * parv[0] = sender prefix |