diff options
| author | 2010-08-28 20:18:22 -0400 | |
|---|---|---|
| committer | 2010-08-28 20:18:22 -0400 | |
| commit | eb056ec67eb774e8ba4751911c22d2973927271d (patch) | |
| tree | f119ddb2ec2c77ea796fac555244c42f09f6d066 /src/modules/extra/m_pgsql.cpp | |
| parent | Fix missing hook registrations (diff) | |
Avoid future bugs with Attach
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 27e12cf25..7fd2050b1 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -499,7 +499,7 @@ class ModulePgSQL : public Module ReadConf(); Implementation eventlist[] = { I_OnUnloadModule }; - ServerInstance->Modules->Attach(eventlist, this, 1); + ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } virtual ~ModulePgSQL() |
