Skip to content
Browse files

Rename away/autoaway module to awaystore.

Now it at least tries to explain what it does...
  • Loading branch information...
1 parent f027be9 commit f557d4b8053d2088170831a6786b0e4f0c55b076 @DarthGandalf DarthGandalf committed Apr 15, 2012
Showing with 11 additions and 3 deletions.
  1. 0 modules/{autoaway.cpp → awaystore.cpp}
  2. +11 −3 src/IRCNetwork.cpp
View
0 modules/autoaway.cpp → modules/awaystore.cpp
File renamed without changes.
View
14 src/IRCNetwork.cpp
@@ -291,11 +291,19 @@ bool CIRCNetwork::ParseConfig(CConfig *pConfig, CString& sError, bool bUpgrade)
CString sValue = *vit;
CString sModName = sValue.Token(0);
- // XXX Legacy crap, added in ZNC 0.203
+ // XXX Legacy crap, added in ZNC 0.203, modified in 0.207
+ // Note that 0.203 == 0.207
if (sModName == "away") {
CUtils::PrintMessage("NOTICE: [away] was renamed, "
- "loading [autoaway] instead");
- sModName = "autoaway";
+ "loading [awaystore] instead");
+ sModName = "awaystore";
+ }
+
+ // XXX Legacy crap, added in ZNC 0.207
+ if (sModName == "autoaway") {
+ CUtils::PrintMessage("NOTICE: [autoaway] was renamed, "
+ "loading [awaystore] instead");
+ sModName = "awaystore";
}
CUtils::PrintAction("Loading Module [" + sModName + "]");

0 comments on commit f557d4b

Please sign in to comment.
Something went wrong with that request. Please try again.