mirror of
https://github.com/anope/anope.git
synced 2026-07-04 11:43:12 +02:00
Fix some modules that weren't converted to the new socket ctor.
Closes #330.
This commit is contained in:
@@ -42,7 +42,7 @@ class ProxyCallbackListener : public ListenSocket
|
||||
};
|
||||
|
||||
public:
|
||||
ProxyCallbackListener(const Anope::string &b, int p) : Socket(-1, b.find(':') != Anope::string::npos), ListenSocket(b, p, false)
|
||||
ProxyCallbackListener(const Anope::string &b, int p) : Socket(-1, b.find(':') == Anope::string::npos ? AF_INET : AF_INET6), ListenSocket(b, p, false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user