Skip to content
Snippets Groups Projects
Commit f4563275 authored by rswindell's avatar rswindell
Browse files

Fix bug reported by First Officer: log line had the source and destination subs

reversed when moving a message.
parent d1bf3d6d
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2012 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2013 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -1493,8 +1493,8 @@ bool sbbs_t::movemsg(smbmsg_t* msg, uint subnum)
,cfg.grp[usrgrp[newgrp]]->sname,cfg.sub[newsub]->lname);
safe_snprintf(str,sizeof(str),"%s moved message from %s %s to %s %s"
,useron.alias
,cfg.grp[newgrp]->sname,cfg.sub[newsub]->sname
,cfg.grp[cfg.sub[subnum]->grp]->sname,cfg.sub[subnum]->sname);
,cfg.grp[cfg.sub[subnum]->grp]->sname,cfg.sub[subnum]->sname
,cfg.grp[newgrp]->sname,cfg.sub[newsub]->sname);
logline("M+",str);
signal_sub_sem(&cfg,newsub);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment