Преглед изворни кода

* Port [3683] to 1.2.15
* Fix a bug where some nets did not save userfile correctly



svn: 3684

Bryan Drewery пре 18 година
родитељ
комит
37bbceca6e
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 1 0
      doc/UPDATES
  2. 2 2
      src/mod/channels.mod/userchan.c

+ 1 - 0
doc/UPDATES

@@ -12,6 +12,7 @@
 * Fix bans not being removed from channels when removed from bot. (fixes #352)
 * Dont show portmin/portmax/pscloak/autouname in binary config unless they are set
 * Fix possible situation where an error while saving userfile is not reported (fixes #287)
+* Fix a bug where some nets did not save userfile correctly
 
 1.2.14 - http://wraith.botpack.net/milestone/1.2.14
 * Fix another bug in shell functions. (fixes #321)

+ 2 - 2
src/mod/channels.mod/userchan.c

@@ -791,7 +791,7 @@ flood-exempt %d flood-lock-time %lu \
         PLSMNS(channel_backup(chan)),
         PLSMNS(channel_nomassjoin(chan)),
         PLSMNS(channel_knock(chan)),
-	HAVE_TAKE ? PLSMNS(channel_take(chan)) : 0,
+	HAVE_TAKE ? PLSMNS(channel_take(chan)) : ' ',
         HAVE_TAKE ? "take " : " "
 /* Chanflag template
  * also include a %ctemp above.
@@ -890,7 +890,7 @@ exempt-time %lu invite-time %lu voice-non-ident %d auto-delay %d \
         PLSMNS(channel_backup(chan)),
         PLSMNS(channel_nomassjoin(chan)),
         PLSMNS(channel_knock(chan)),
-	HAVE_TAKE ? PLSMNS(channel_take(chan)) : 0,
+	HAVE_TAKE ? PLSMNS(channel_take(chan)) : ' ',
         HAVE_TAKE ? "take " : " "
 /* Chanflag template
  * also include a %ctemp above.