diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-09 23:35:39 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-09 23:35:39 +0000 |
commit | bab1af3e4a10b226ea0a0277a86cce6298d32066 (patch) | |
tree | de837c541b01b72ff07e7c0439baa871e1a261c8 /src/modules/m_rline.cpp | |
parent | 4cad1538f8e0ad0671d2c8b67efa02b2336d9ce5 (diff) |
Fix some random crash due to my not knowing how to use STL *shrug*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8684 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_rline.cpp')
-rw-r--r-- | src/modules/m_rline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index 049d8ad35..f526f4fd9 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -60,7 +60,7 @@ class CoreExport RLine : public XLine bool Matches(User *u) { - std::string compare = compare.assign(u->nick) + "!" + u->ident + "@" + u->host + " " + u->fullname; + std::string compare = std::string(u->nick) + "!" + u->ident + "@" + u->host + " " + u->fullname; ServerInstance->Log(DEBUG, "Matching " + matchtext + " against string " + compare); @@ -126,7 +126,7 @@ class CoreExport RLineFactory : public XLineFactory class CommandRLine : public Command { public: - CommandRLine (InspIRCd* Instance) : Command(Instance,"RLINE", 1, 'o') + CommandRLine (InspIRCd* Instance) : Command(Instance,"RLINE", 'o', 1) { this->source = "m_rline.so"; } |