mirror of
https://github.com/anope/anope.git
synced 2026-06-30 17:46:39 +02:00
Fixed loading forbidden nicks
This commit is contained in:
@@ -269,7 +269,7 @@ static void LoadNickCore(const std::vector<Anope::string> ¶ms)
|
||||
/* Clear default flags */
|
||||
nc->ClearFlags();
|
||||
|
||||
nc->pass = params[1];
|
||||
nc->pass = params.size() > 1 ? params[1] : "";
|
||||
|
||||
Log(LOG_DEBUG_2) << "[db_plain]: Loaded NickCore " << nc->display;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user