diff options
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
| -rw-r--r-- | src/modules/m_restrictchans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 4ed4049c5..ccbc5592e 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -65,7 +65,7 @@ class ModuleRestrictChans : public Module { const std::string name = tag->getString("name"); if (name.empty()) - throw ModuleException("Empty <allowchannel:name> at " + tag->getTagLocation()); + throw ModuleException("Empty <allowchannel:name> at " + tag->source.str()); newallows.insert(name); } |
