mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-07 00:35:39 +00:00
Save chanopt after any changes
This commit is contained in:
1 parent
cf505b850b
commit
0e420fbee8
3 files changed
+13
-5
No files matched your search
@@ -575,8 +575,13 @@ cmd_unban (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||
static int
|
||||
cmd_chanopt (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||
{
|
||||
int ret;
|
||||
|
||||
/* chanopt.c */
|
||||
return chanopt_command (sess, tbuf, word, word_eol);
|
||||
ret = chanopt_command (sess, tbuf, word, word_eol);
|
||||
chanopt_save_all ();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in new issue
Block a user