diff src/protocols/irc/cmds.c @ 9248:6430b09ccc71

[gaim-migrate @ 10047] removing irc's /help command, since the core now provides one, that does exactly the same thing. Maybe IRC's version was prettier, but we can fix that, if need be. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 09 Jun 2004 06:34:33 +0000
parents 933a19e3a6b3
children 00242c2419c3
line wrap: on
line diff
--- a/src/protocols/irc/cmds.c	Wed Jun 09 06:09:08 2004 +0000
+++ b/src/protocols/irc/cmds.c	Wed Jun 09 06:34:33 2004 +0000
@@ -128,35 +128,6 @@
 	return 1;
 }
 
-int irc_cmd_help(struct irc_conn *irc, const char *cmd, const char *target, const char **args)
-{
-	GaimConversation *convo = gaim_find_conversation_with_account(target, irc->account);
-
-	/* XXX we should eventually have per-command help */
-
-	if (!convo)
-		return 0;
-
-	if (gaim_conversation_get_type(convo) == GAIM_CONV_CHAT) {
-		gaim_conv_chat_write(GAIM_CONV_CHAT(convo), "", _("<B>Supported IRC Commands:</B><BR>"
-							"AWAY INVITE JOIN KICK<BR>"
-							"ME MODE MSG NAMES<BR>"
-							"NICK OP DEOP OPERWALL<BR>"
-							"PART PING QUERY QUIT<BR>"
-							"QUOTE REMOVE TOPIC UMODE<BR>"
-							"VOICE DEVOICE WALLOPS WHOIS<BR>"),
-				GAIM_MESSAGE_NO_LOG, time(NULL));
-	} else {
-		gaim_conv_im_write(GAIM_CONV_IM(convo), "", _("<B>Supported IRC Commands:</B><BR>"
-						    "AWAY JOIN ME MODE<BR>"
-						    "MSG NICK OPERWALL PING<BR>"
-						    "QUERY QUIT QUOTE UMODE<BR>"
-						    "WALLOPS WHOIS"), GAIM_MESSAGE_NO_LOG, time(NULL));
-	}
-
-	return 0;
-}
-
 int irc_cmd_invite(struct irc_conn *irc, const char *cmd, const char *target, const char **args)
 {
 	char *buf;