diff libpurple/protocols/irc/msgs.c @ 16935:c417cc8403e3

Handle channel joins when registration is required more gracefully.
author Ethan Blanton <elb@pidgin.im>
date Tue, 08 May 2007 02:46:50 +0000
parents a82444e61ece
children 7a88187629ff
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c	Tue May 08 00:48:20 2007 +0000
+++ b/libpurple/protocols/irc/msgs.c	Tue May 08 02:46:50 2007 +0000
@@ -1079,7 +1079,7 @@
 	if (!args || !args[1] || !args[2] || !gc)
 		return;
 
-	msg = g_strdup_printf(_("Cannot join %s:"), args[1]);
+	msg = g_strdup_printf(_("Cannot join %s: Registration is required."), args[1]);
 	purple_notify_error(gc, _("Cannot join channel"), msg, args[2]);
 	g_free(msg);
 }