Hi again,

when someone has auto-NotAvailable enabled, and a autoNA message is set, but 
no autoAway msg, then licq will crash.

This is due to a typo in mainwin.cpp.

See attached patch to fix it.

bye,
thomas
Index: plugins/qt-gui/src/mainwin.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/mainwin.cpp,v
retrieving revision 1.266
diff -u -3 -p -r1.266 mainwin.cpp
--- plugins/qt-gui/src/mainwin.cpp	18 Jan 2003 02:16:51 -0000	1.266
+++ plugins/qt-gui/src/mainwin.cpp	19 Jan 2003 16:08:42 -0000
@@ -2842,7 +2842,7 @@ void CMainWindow::autoAway()
       if (autoNAMess) {
        SARList &sar = gSARManager.Fetch(SAR_NA);
        ICQUser *u = gUserManager.FetchOwner(LOCK_W);
-       u->SetAutoResponse(QString(sar[autoAwayMess-1]->AutoResponse()).local8Bit());
+       u->SetAutoResponse(QString(sar[autoNAMess-1]->AutoResponse()).local8Bit());
        gUserManager.DropOwner();
        gSARManager.Drop();
       }

Attachment: msg01899/pgp00000.pgp
Description: signature

Reply via email to