summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/socialwindow.cpp4
-rw-r--r--src/net/eathena/partyhandler.cpp3
-rw-r--r--src/net/eathena/partyhandler.h3
-rw-r--r--src/net/partyhandler.h3
-rw-r--r--src/net/tmwa/partyhandler.cpp3
-rw-r--r--src/net/tmwa/partyhandler.h3
6 files changed, 7 insertions, 12 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index a8584d643..03626325b 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -270,7 +270,7 @@ void SocialWindow::action(const ActionEvent &event)
mPartyInviter.c_str()),
ChatMsgType::BY_SERVER);
}
- partyHandler->inviteResponse(mPartyInviter, mPartyId, true);
+ partyHandler->inviteResponse(mPartyId, true);
}
else if (eventId == "no")
{
@@ -282,7 +282,7 @@ void SocialWindow::action(const ActionEvent &event)
mPartyInviter.c_str()),
ChatMsgType::BY_SERVER);
}
- partyHandler->inviteResponse(mPartyInviter, mPartyId, false);
+ partyHandler->inviteResponse(mPartyId, false);
}
mPartyInviter.clear();
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index f22e5aabc..c612f13f0 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -143,8 +143,7 @@ void PartyHandler::invite(const std::string &name) const
}
}
-void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED,
- const int partyId,
+void PartyHandler::inviteResponse(const int partyId,
const bool accept) const
{
if (localPlayer)
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h
index 22cabd81e..80d85e6fb 100644
--- a/src/net/eathena/partyhandler.h
+++ b/src/net/eathena/partyhandler.h
@@ -44,8 +44,7 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void invite(const std::string &name) const override final;
- void inviteResponse(const std::string &inviter,
- const int partyId,
+ void inviteResponse(const int partyId,
const bool accept) const override final;
void leave() const override final;
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h
index f93f07b44..e47c88a6f 100644
--- a/src/net/partyhandler.h
+++ b/src/net/partyhandler.h
@@ -68,8 +68,7 @@ class PartyHandler notfinal
virtual void clear() const = 0;
- virtual void inviteResponse(const std::string &inviter,
- const int partyId,
+ virtual void inviteResponse(const int partyId,
const bool accept) const = 0;
virtual ChatTab *getTab() const = 0;
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index f503b666c..390671345 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -132,8 +132,7 @@ void PartyHandler::invite(const std::string &name) const
}
}
-void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED,
- const int partyId A_UNUSED,
+void PartyHandler::inviteResponse(const int partyId A_UNUSED,
const bool accept) const
{
if (localPlayer)
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h
index af18e2d14..30c837c37 100644
--- a/src/net/tmwa/partyhandler.h
+++ b/src/net/tmwa/partyhandler.h
@@ -44,8 +44,7 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void invite(const std::string &name) const override final;
- void inviteResponse(const std::string &inviter,
- const int partyId,
+ void inviteResponse(const int partyId,
const bool accept) const override final;
void leave() const override final;