diff options
| author | Adam <Adam@anope.org> | 2011-01-24 01:11:10 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-01-24 01:11:10 -0500 |
| commit | bf559d788fdbb12906a2126f5b850b46dab9d702 (patch) | |
| tree | ac520c8c892c2d29476aa649a52e444563b48b16 | |
| parent | 3bfc8e9a39738e6ce60f6cdf1772a120b6bc540a (diff) | |
Fixed loading forbidden nicks
| -rw-r--r-- | modules/core/db_plain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/db_plain.cpp b/modules/core/db_plain.cpp index a7dc85527..e589d85f6 100644 --- a/modules/core/db_plain.cpp +++ b/modules/core/db_plain.cpp @@ -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; } |
