diff --git a/source/commands.c b/source/commands.c index 8083cf1..e24e3b5 100644 --- a/source/commands.c +++ b/source/commands.c @@ -502,7 +502,7 @@ IrcCommand irc_command[] = #endif { "P", "Ping", pingcmd, 0, "%Y<%nnick%Y>%n\n- Pings %Y<%nnick%Y>" }, { "PARSEKEY", NULL, parsekeycmd, 0, scripting_command }, - { "PART", "PART", send_2comm, 0, "- Leaves %Y<%nchannel%Y>%n" }, + { "PART", "PART", send_2comm, SERVERREQ, "- Leaves %Y<%nchannel%Y>%n" }, { "PARTALL", "PARTALL", do_getout, 0, "- Leaves all channels" }, { "PASTE", NULL, pastecmd, 0, NULL }, { "PAUSE", NULL, e_pause, 0, scripting_command }, @@ -583,7 +583,7 @@ IrcCommand irc_command[] = { "RETURN", NULL, returncmd, 0, NULL }, { "REVISIONS", NULL, show_revisions, 0, "- Shows CVS revisions of source files." }, /* nuxx requested this command */ - { "RMAP", "MAP", send_2comm, 0, "- Sends out a /map command to the server%n" }, + { "RMAP", "MAP", send_2comm, SERVERREQ, "- Sends out a /map command to the server%n" }, { "RPING", "RPING", send_comm, SERVERREQ, NULL }, { "SAVE", "SaveAll", savelists, 0, "- Saves ~/.BitchX/BitchX.sav" }, { "SAVEIRC", NULL, save_settings, 0, "- Saves ~/.bitchxrc" }, @@ -617,8 +617,8 @@ IrcCommand irc_command[] = { "SLEEP", NULL, sleepcmd, 0, scripting_command }, { "SPAM", NULL, spam, 0, NULL }, { "SPING", "Sping", sping, 0, "%Y<%nserver|.|-clear%Y>%n\n- Checks how lagged you are to %Y<%nserver%Y>%n" }, - { "SQUERY", "SQUERY", send_2comm, 0, "%Y<%nservice%Y> <%ntext%Y>%n\n - Sends %Y<%ntext%Y>%n to %Y<%nservice%Y>%n" }, - { "SQUIT", "SQUIT", send_2comm, 0, "%Y<%nserver1%Y>%n %R[%nserver2%R]%n\n%Y*%n Requires irc operator status\n- Disconnects %Y<%nserver1%Y>%n from current server or %R[%nserver2%R]%n" }, + { "SQUERY", "SQUERY", send_2comm, SERVERREQ, "%Y<%nservice%Y> <%ntext%Y>%n\n - Sends %Y<%ntext%Y>%n to %Y<%nservice%Y>%n" }, + { "SQUIT", "SQUIT", send_2comm, SERVERREQ, "%Y<%nserver1%Y>%n %R[%nserver2%R]%n\n%Y*%n Requires irc operator status\n- Disconnects %Y<%nserver1%Y>%n from current server or %R[%nserver2%R]%n" }, { "STACK", NULL, stackcmd, 0, scripting_command }, { "STATS", "STATS", do_stats, 0, NULL }, { "STUB", "Stub", stubcmd, 0, "(alias|assign) [