summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 5d5a6d588..e0f073cd2 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -42,4 +42,9 @@ bool ServerFeatures::havePartyNickInvite() const
return true;
}
+bool ServerFeatures::haveChangePartyLeader() const
+{
+ return true;
+}
+
} // EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 9bc856f1e..dbd4c756f 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -37,6 +37,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveOnlineList() const override final;
bool havePartyNickInvite() const override final;
+
+ bool haveChangePartyLeader() const override final;
};
} // namespace Net
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 3f3268c3a..504a5dbae 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -34,6 +34,8 @@ class ServerFeatures notfinal
virtual bool haveOnlineList() const = 0;
virtual bool havePartyNickInvite() const = 0;
+
+ virtual bool haveChangePartyLeader() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index c8c497613..4aa1bfadd 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -43,4 +43,9 @@ bool ServerFeatures::havePartyNickInvite() const
return false;
}
+bool ServerFeatures::haveChangePartyLeader() const
+{
+ return false;
+}
+
} // TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 2c846a6ce..f934c31e2 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -37,6 +37,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveOnlineList() const override final;
bool havePartyNickInvite() const override final;
+
+ bool haveChangePartyLeader() const override final;
};
} // namespace Net