cssdm_main.cpp
changeset 15 2f8a465297b4
parent 7 1107793f4b1c
child 47 c53e1d3f3da0
     1.1 --- a/cssdm_main.cpp	Tue Jun 26 17:05:19 2007 +0000
     1.2 +++ b/cssdm_main.cpp	Tue Jun 26 17:06:56 2007 +0000
     1.3 @@ -243,3 +243,23 @@
     1.4  
     1.5  	return true;
     1.6  }
     1.7 +
     1.8 +bool Deathmatch::QueryInterfaceDrop(SMInterface *pInterface)
     1.9 +{
    1.10 +	if (pInterface == bintools)
    1.11 +	{
    1.12 +		return false;
    1.13 +	}
    1.14 +
    1.15 +	return true;
    1.16 +}
    1.17 +
    1.18 +void Deathmatch::NotifyInterfaceDrop(SMInterface *pInterface)
    1.19 +{
    1.20 +	/* We have to take care of bintools early then... */
    1.21 +	if (pInterface == bintools)
    1.22 +	{
    1.23 +		ShutdownUtils();
    1.24 +		bintools = NULL;
    1.25 +	}
    1.26 +}