mirror of
https://github.com/anope/anope.git
synced 2026-07-05 18:43:12 +02:00
Remove or fix various useless uses of const.
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
}
|
||||
|
||||
void OnConnect() override = 0;
|
||||
virtual const Anope::string GetType() const = 0;
|
||||
virtual const char *GetType() const = 0;
|
||||
|
||||
protected:
|
||||
void Ban()
|
||||
@@ -134,7 +134,7 @@ public:
|
||||
this->Write("");
|
||||
}
|
||||
|
||||
const Anope::string GetType() const override
|
||||
const char *GetType() const override
|
||||
{
|
||||
return "HTTP";
|
||||
}
|
||||
@@ -187,7 +187,7 @@ public:
|
||||
this->Write(buf, ptr);
|
||||
}
|
||||
|
||||
const Anope::string GetType() const override
|
||||
const char *GetType() const override
|
||||
{
|
||||
return "SOCKS5";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user