summaryrefslogtreecommitdiff
path: root/src/irc/iid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/iid.cpp')
-rw-r--r--src/irc/iid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/iid.cpp b/src/irc/iid.cpp
index a63a1c3..131c18c 100644
--- a/src/irc/iid.cpp
+++ b/src/irc/iid.cpp
@@ -35,7 +35,8 @@ Iid::Iid(const std::string& iid, const Bridge *bridge)
void Iid::set_type(const std::set<char>& chantypes)
{
- if (this->local.empty() && this->server.empty())
+ if (this->local.empty() && (
+ !Config::get("fixed_irc_server", "").empty() || this->server.empty()))
this->type = Iid::Type::None;
if (this->local.empty())
return;