# HG changeset patch # User Christian Hammond # Date 1056620361 0 # Node ID fc8ba872a43f03afc7b39b638ec605ad20a1278d # Parent 03bf7c9057824f2872d51eda15f6c8c158abbccd [gaim-migrate @ 6408] Same deal with the MSN Alerts. Standard disclaimer, might crash, eat babies, blah blah blah. committer: Tailor Script diff -r 03bf7c905782 -r fc8ba872a43f src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Thu Jun 26 09:27:14 2003 +0000 +++ b/src/protocols/msn/notification.c Thu Jun 26 09:39:21 2003 +0000 @@ -823,6 +823,20 @@ } static gboolean +not_cmd(MsnServConn *servconn, const char *command, const char **params, + size_t param_count) +{ + GaimConnection *gc = servconn->session->account->gc; + + servconn->parsing_msg = TRUE; + servconn->msg_passport = NULL; + servconn->msg_friendly = NULL; + servconn->msg_len = atoi(params[0]); + + return TRUE; +} + +static gboolean prp_cmd(MsnServConn *servconn, const char *command, const char **params, size_t param_count) { @@ -1411,6 +1425,7 @@ msn_servconn_register_command(notification, "LST", lst_cmd); msn_servconn_register_command(notification, "MSG", msg_cmd); msn_servconn_register_command(notification, "NLN", nln_cmd); + msn_servconn_register_command(notification, "NOT", not_cmd); msn_servconn_register_command(notification, "OUT", out_cmd); msn_servconn_register_command(notification, "PRP", prp_cmd); msn_servconn_register_command(notification, "QNG", blank_cmd);