libpurple/protocols/irc/irc.c

changeset 34449
bbcb198650b7
parent 34321
f60fcab02bd4
child 34955
854143116575
--- a/libpurple/protocols/irc/irc.c	Wed Sep 18 18:24:28 2013 +0200
+++ b/libpurple/protocols/irc/irc.c	Sat Sep 21 11:54:03 2013 +0200
@@ -74,8 +74,10 @@
 	}
 	irc = purple_connection_get_protocol_data(gc);
 	if (irc->motd == NULL) {
-		purple_notify_error(gc, _("Error displaying MOTD"), _("No MOTD available"),
-				  _("There is no MOTD associated with this connection."));
+		purple_notify_error(gc, _("Error displaying MOTD"),
+			_("No MOTD available"),
+			_("There is no MOTD associated with this connection."),
+			purple_request_cpar_from_connection(gc));
 		return;
 	}
 	title = g_strdup_printf(_("MOTD for %s"), irc->server);

mercurial