kann man das nicht wegmachen ? ich hab keinen schimmer wo der ansatzpunkt ist.
timerlist.cpp is mir klar nur wo ?
![gruebel :gruebel:](./images/smilies/gruebel.gif)
Code: Alles auswählen
--- neutrino.cpp_org 2010-02-19 13:01:16.000000000 +0100
+++ neutrino.cpp_mod 2010-02-22 10:13:55.000000000 +0100
@@ -2915,6 +2915,17 @@
CTimerd::responseGetTimer &timer = tmpTimerList[0];
CZapitClient Zapit;
+
+ std::string timerchannel;
+ timerchannel = Zapit.getChannelName( timer.channel_id ); // UTF-8
+ //printf("Test1=%s\n",timerchannel.c_str());
+ std::string currentchannel;
+ currentchannel = channelList->getActiveChannelName();
+ //printf("Test2=%s\n",currentchannel.c_str());
+
+ if (strcmp(timerchannel.c_str(), currentchannel.c_str()) == 0)
+ return messages_return::handled;
+
zAddData = Zapit.getChannelName( timer.channel_id ); // UTF-8
if( zAddData.empty() )
{