Loading src/client/command.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ CommandList table[]={ {"status", 0x000, 0, "Usage: status", "Display user status", c_status, 1}, {"su", 0x004, 1, "Usage: su <on | off>", "Toggle superuser powers", c_su, 1}, {"talker", 0x020, 0, "Usage: talker", "Enter chat mode", c_chatmode, 1}, {"tell", 0x020, 2, "Usage: tell <user> <message>", "Send message to user", c_tell, 1}, {"tell", 0x020, 2, "Usage: tell <user> <message>", "Send message to user", t_sayto, 1}, {"tidyup", 0x001, 2, "Usage: tidyup <foldername> <mesg no>", "Remove messages from a folder upto message number", c_tidyup, 1}, {"timeout", 0x040, 1, "Usage: timeout <time>", "Set your idle time logout", c_timeout, 1}, {"timestamp", 0x000, 1, "Usage: timestamp <on | off>", "Print timestamps on messages", c_timestamp, 1}, Loading src/client/newmain.c +0 −15 Original line number Diff line number Diff line Loading @@ -481,21 +481,6 @@ void c_who(CommandList *cm, int argc, const char **argv, char *args) display_wholist(0); } void c_tell(CommandList *cm, int argc, const char **argv, char *args) { if (s_coventry(user)) printf(_("You have been sent to 'coventry' you are not allowed to talk to anyone..\n")); else { char text[MAXTEXTLENGTH]; update_user(user); text[0]=0; strncat(text, args, MAXTEXTLENGTH - strlen(text) - 1); send_mesg(user->record.name, argv[1], text, u_god(user)); } } void c_wiz(CommandList *cm, int argc, const char **argv, char *args) { char text[MAXTEXTLENGTH]; Loading Loading
src/client/command.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ CommandList table[]={ {"status", 0x000, 0, "Usage: status", "Display user status", c_status, 1}, {"su", 0x004, 1, "Usage: su <on | off>", "Toggle superuser powers", c_su, 1}, {"talker", 0x020, 0, "Usage: talker", "Enter chat mode", c_chatmode, 1}, {"tell", 0x020, 2, "Usage: tell <user> <message>", "Send message to user", c_tell, 1}, {"tell", 0x020, 2, "Usage: tell <user> <message>", "Send message to user", t_sayto, 1}, {"tidyup", 0x001, 2, "Usage: tidyup <foldername> <mesg no>", "Remove messages from a folder upto message number", c_tidyup, 1}, {"timeout", 0x040, 1, "Usage: timeout <time>", "Set your idle time logout", c_timeout, 1}, {"timestamp", 0x000, 1, "Usage: timestamp <on | off>", "Print timestamps on messages", c_timestamp, 1}, Loading
src/client/newmain.c +0 −15 Original line number Diff line number Diff line Loading @@ -481,21 +481,6 @@ void c_who(CommandList *cm, int argc, const char **argv, char *args) display_wholist(0); } void c_tell(CommandList *cm, int argc, const char **argv, char *args) { if (s_coventry(user)) printf(_("You have been sent to 'coventry' you are not allowed to talk to anyone..\n")); else { char text[MAXTEXTLENGTH]; update_user(user); text[0]=0; strncat(text, args, MAXTEXTLENGTH - strlen(text) - 1); send_mesg(user->record.name, argv[1], text, u_god(user)); } } void c_wiz(CommandList *cm, int argc, const char **argv, char *args) { char text[MAXTEXTLENGTH]; Loading