diff src/protocols/irc/cmds.c @ 6365:72bbe310ac77

[gaim-migrate @ 6870] delete buddies when we delete an account (thanks Vann) and clean up some compiler warnings in the irc code (thanks Paco-Paco) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 04 Aug 2003 17:44:19 +0000
parents 34c07f5f34a0
children 8f94cce8faa5
line wrap: on
line diff
--- a/src/protocols/irc/cmds.c	Mon Aug 04 17:02:59 2003 +0000
+++ b/src/protocols/irc/cmds.c	Mon Aug 04 17:44:19 2003 +0000
@@ -197,10 +197,12 @@
 			return 0;
 		gc = gaim_account_get_connection(irc->account);
 		buf = irc_format(irc, "vnv", "MODE", gaim_connection_get_display_name(gc), args[0]);
+	} else {
+		return 0;
 	}
+
 	irc_send(irc, buf);
 	g_free(buf);
-		
 
 	return 0;
 }
@@ -452,6 +454,8 @@
 		buf = irc_format(irc, "v:", "WALLOPS", args[0]);
 	else if (!strcmp(cmd, "operwall"))
 		buf = irc_format(irc, "v:", "OPERWALL", args[0]);
+	else
+		return 0;
 
 	irc_send(irc, buf);
 	g_free(buf);