Move OnWrite{User,Chan}Config() to CModule

That way, user modules can write stuff to the user section, too.

OnWriteConfig() is still a global module call. A later commit will have to make
OnConfigLine() a user module hook...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1848 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-03-29 19:04:37 +00:00
parent be130f2034
commit 027404e05b
4 changed files with 24 additions and 30 deletions
+1 -1
View File
@@ -707,7 +707,7 @@ bool CUser::WriteConfig(CFile& File) {
}
}
CZNC::Get().GetModules().OnWriteUserConfig(File, *this);
MODULECALL(OnWriteUserConfig(File), this, NULL,);
File.Write("</User>\n");